/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package client;

import Buffer.FlightData;
import BufferLayerMapBean.Painter;

/**
 *
 * @author Toshiba
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

        FlightData FlightDat = new FlightData();
        
        ClientThread ct = new ClientThread(6789, "127.0.0.1", FlightDat);
        ct.Connect();
        Thread threadCT = new Thread (ct);
        threadCT.start();
        
        OffChecking offcheck = new OffChecking(FlightDat);
        Thread threadOC = new Thread(offcheck);
        threadOC.start();
        
        Painter painter = new Painter(FlightDat);
        Thread threadPT = new Thread(painter);
        threadPT.start();

    }

}
